package com.wwy.www.demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-08-28
 * Time: 18:47
 */
public class Dog extends Animal{
    public Dog(String name, int age) {
        super(name, age);
    }
    public void eat(){
        System.out.println(this.name+"chigouliang");
    }
}
